#ifndef CONCRETE_COMMAND_H
#define CONCRETE_COMMAND_H

#include"command.h"
#include<iostream>
using namespace std;
class TakeCommand:public Command{
public:
    TakeCommand(IReceiver *receiver):Command(receiver){}
    void excute()override{
        m_pReceiver->takeOrder();
    }
};
class PayCommand:public Command{
public:
    PayCommand(IReceiver *receiver):Command(receiver){}
    void excute()override{
        m_pReceiver->receipt();
    }

};


#endif // CONCRETE_COMMAND_H
